FROM crpi-7au1zv2nzyn9ublg.cn-hangzhou.personal.cr.aliyuncs.com/aliyun-solution/python:3.10-slim-bookworm
COPY --from=crpi-7au1zv2nzyn9ublg.cn-hangzhou.personal.cr.aliyuncs.com/aliyun-solution/uv:0.7.8 /uv /uvx /bin/
RUN apt-get update && apt-get install -y \
    vim \
    curl \
    screen \
    build-essential \
    git \
    && rm -rf /var/lib/apt/lists/*
ENV UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple/
RUN uv add fastmcp beautifulsoup4 lxml segno python-dotenv

